<li class="uk-panel <%= post.published_at && 'published' %>" id="post-<%= post.id %>">
  <div data-no-turbolink>
    <%= link_to post.title, edit_admin_post_path(post), class: 'title' %>
  </div>
  <div class="sub-info">
    <% if post.category.present? %>
        <span>分类：<%= post.category.name %></span>
    <% end %>
    <% if post.published_at.present? %>
        <span>发布日期：<%= post.published_time %></span>
        <span>路径：<%= post.slug %></span>
    <% end %>
  </div>
  <div class="operation">
    <%= link_to '', move_trash_admin_post_path(post), class: 'uk-icon-button uk-icon-trash-o', method: :delete, remote: true %>
    <%= link_to '', '#', class: 'uk-icon-button uk-icon-eye', target: '_blank' %>
  </div>
</li>